rofiles-fuse: Improve error message for failure to open root
authorColin Walters <walters@verbum.org>
Tue, 2 Oct 2018 15:47:48 +0000 (11:47 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 12 Oct 2018 14:11:10 +0000 (14:11 +0000)
commit04aff9c1c022e70ec46597bbb48c4ecfd103b50c
tree30702ea3af0edc00bb30a92eeb53d5ca2d07c493
parent43d9cac4fc4f38c18b8aa164fbbf77609e2b5b10
rofiles-fuse: Improve error message for failure to open root

I was debugging some rpm-ostree work and saw:
`openat: No such file or directory`
and it wasn't immediately obvious it was stderr from `rofiles-fuse`.

Use the `err` API which is better in many ways; in this case
it automatically prefixes with `argv0`.

Closes: #1747
Approved by: jlebon
src/rofiles-fuse/main.c